import { DEFAULT_LAYOUT } from "../base"
import { AppRouteRecordRaw } from "../types"

const HOME: AppRouteRecordRaw = {
  path: "/search",
  name: "Search",
  component: DEFAULT_LAYOUT,
  meta: {
    locale: "menu.dashboard",
    requiresAuth: true,
    icon: "icon-dashboard",
    order: 0
  },
  children: [
    {
      path: "advanced",
      name: "AdvancedSearch",
      component: () => import("@/views/search/advanced/index.vue"),
      meta: {
        locale: "menu.dashboard.workplace",
        requiresAuth: true,
        roles: ["*"]
      }
    }
  ]
}

export default HOME
